import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Icon from 'vue-svg-icon/Icon.vue'
import axios from 'axios';
import * as echarts from 'echarts';
import store from './store/index'
Vue.prototype.$echarts = echarts;
Vue.prototype.$axios = axios;
Vue.component('icon', Icon)
Vue.use(ElementUI);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App},
  template: '<App/>',
  // 启用 ElementUI
  render: h => h(App)
})
